Repository navigation
Publishing page: shift open/close windows (#869) - #900
Merged
Merged
Conversation
#869) Mew 2026-11-29: "lets start with A ... shift closes it is hidden". op_shift_release rows become windows: all on-playa shifts from a date (as before) or one shift type (meetings included), with an optional close time. Volunteers can't see or sign up before a window opens or after it closes; admins still see them (sign-up warns). New /publishing page holds the windows and lists every form's Opens/Closes; Dates links to it. Migration 036. Footer 2027.G.00900.C. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #869. Mew, 2026-11-29: "lets start with A and see if we need B. shift closes it is hidden."
op_shift_releasegainsshift_name_id(NULL means all on-playa shifts, as before) andclose_at. With these, each release row becomes a publishing window.PUBLISH_CLOSED_SQL, used by/api/shiftsandcheckShiftAdd). Admins still see those shifts, and sign-up only warns them (publish-closed)./publishingpage (SuperAdmin, next to Dates in the menu):Prod currently has no release rows, so nothing changes on deploy. New e2e test: a closed window hides the shift and blocks sign-up, a type window covers a meeting, the API rejects a close time before the open time, and GET returns the shift name and close time. Locally, 30 (4 tests) and 32 pass. Footer 2027.G.00900.C.
🤖 Generated with Claude Code